package com.capital.service;

import com.capital.entity.CfnInfo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface CfnService {

	String testCfn();

	String addCfn(@RequestBody Map<String, Object> body);

	CfnInfo getCfnByInfoCode(String infoCode);

	boolean requestCfnFromEastmoney(@RequestBody Map<String, Object> body);

	boolean addCfnFromEastmoney(String codes, String content, int emode, String options);

	void timerAddCfn();

	String setCfnDate(String date);

	String getCfnDate();

}
